package org.example.springbootwebexample.service;


import org.example.springbootwebexample.pojo.Dept;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface DeptService {

    List<Dept> list();

    void delete(Integer id);

    void add(Dept dept);


}
